package cn.tedu.spring.eg2;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import sun.security.mscapi.PRNG;

import javax.annotation.Resource;

/**
 * @Author: Miyako
 * @Date: 2024-08-02-15:55
 * @Description:
 */
@Service
public class CommentMapper {
    CommentMapper(int a){
        System.out.println("1");
    }
    CommentMapper(){
        System.out.println("0");
    }
    @Resource
    private Mapper P ;

    @Override
    public String toString() {
        return "CommentMapper{" +
                "m=" + P +
                '}';
    }
}
